﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace XXX.Models.WDFT
{


    public class KX_MOMainReq
    {

        /// <summary>
        /// 工单类型
        /// </summary>
        public string cMoType { get; set; }
         
        /// <summary>
        /// 工单号
        /// </summary>
        public string cMoCode { get; set; }
        /// <summary>
        /// 销售订单号
        /// </summary>
        //public string cSoCode { get; set; }
        /// <summary>
        /// 生产日期
        /// </summary>
        public DateTime dDate { get; set; }
        /// <summary>
        /// 产品编码
        /// </summary>
        public string cInvCode { get; set; }
        /// <summary>
        /// 产品名称（需要自查）
        /// </summary>
        public string cInvName { get; set; }
        public string cInvStd { get; set; }
        public string cCurrencyName { get; set; }
        public string cInvCCode { get; set; }
        public decimal iWeight { get; set; }
        public string cShape { get; set; }
        public string cCusInvCode { get; set; }
        public decimal iSquare { get; set; } 
        public string cDepCode { get; set; }
       

        public string cMoLotCode { get; set; }
        public string cFree1 { get; set; }
        public string cFree2 { get; set; }
        public string cFree3 { get; set; }
        public string cFree4 { get; set; }
        /// <summary>
        /// 生产数量
        /// </summary>
        public string dQty { get; set; }
      
        /// <summary>
        /// 制单人
        /// </summary>
        public string cMaker { get; set; }

        public string cVerifier { get; set; }
        /// <summary>
        /// 出库仓库
        /// </summary>
        public string cWhCode { get; set; }

        public string cRdCode { get; set; }
     
        public List<KX_MaterialItem> materialList { get; set; }

       
    }
    public class KX_MaterialItem
    {
        /// <summary>
        /// 钢材编码
        /// </summary>
        public string cMaterialCode { get; set; }
        public string cMaterialFree1 { get; set; }
        public string cMaterialFree2 { get; set; }
        public string cMaterialFree3 { get; set; }
        public string cMaterialFree4 { get; set; }
        /// <summary>
        /// 钢材用量
        /// </summary>
        public decimal dMaterialQty { get; set; }

        /// <summary>
        /// 钢材张数
        /// </summary>
       public decimal dNum { get; set; }
        //入库号
        public string cBatch { get; set; }

        public string TrackNo { get; set; }
        //是否产出品
         

    }

     

}
